package com.lvyou.ctrls;

import com.lvyou.service.GoodsSrvImpl;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import javax.annotation.Resource;

@Controller
public class GoodsCtrl {

    @Resource
    private GoodsSrvImpl srv;

    @RequestMapping("/goods")
    public ModelAndView goods(String id,String img,String name,String descrip,String price,String tags,String services,String selling1,String selling2,String selling3){

        ModelAndView mv=new ModelAndView();
        mv.setViewName("goods");
        return mv;
    }
}
